<?php
/**
* running webappkit administration
*
* @link http://webappkit.net
* @package webappkit
* @subpackage admin
* @author J.Ducastel <jeremie@ducastel.name>
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*/

/**
* getting self kit
*/
$k=webappkit::loadkit('webappkit/admin');

/**
 * running engine
 */
$engine=&$k->getService('engine');
$engine->serveRequest();
exit;/**/

// preparing data
$data=array(
	'request'=>httpRequestBean::getCurrent()
	,'kits'=>webappkit::getkits()
	,'core'=>webappkit::getkit('webappkit')
);
// $data['kits']=&webappkit::getkits();


// print_r($data);

// getting template
$tplS=$k->getStorage('templates');
//$tplS->setLocale();
$tpl=$tplS->getItem('help');
echo $tpl->render($data);
?>